home *** CD-ROM | disk | FTP | other *** search
- package java.util;
-
- class WeakHashMap$KeySet extends AbstractSet<K> {
- // $FF: synthetic field
- final WeakHashMap this$0;
-
- private WeakHashMap$KeySet(WeakHashMap var1) {
- this.this$0 = var1;
- }
-
- public Iterator<K> iterator() {
- return new WeakHashMap.KeyIterator(this.this$0, (WeakHashMap.1)null);
- }
-
- public int size() {
- return this.this$0.size();
- }
-
- public boolean contains(Object var1) {
- return this.this$0.containsKey(var1);
- }
-
- public boolean remove(Object var1) {
- if (this.this$0.containsKey(var1)) {
- this.this$0.remove(var1);
- return true;
- } else {
- return false;
- }
- }
-
- public void clear() {
- this.this$0.clear();
- }
-
- // $FF: synthetic method
- WeakHashMap$KeySet(WeakHashMap var1, WeakHashMap.1 var2) {
- this(var1);
- }
- }
-